home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3pyrami.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_PYRAMI_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_PYRAMID = 155;
-
-
-
-
- R3PYRAA_P0 = 155501;
- function SetR3PYRAA_P0(value) {
- R3Set(this.r3obj, R3PYRAA_P0, value, R3TID_VECTOR, 0);
- }
-
- function GetR3PYRAA_P0() {
- return R3Get(this.r3obj, R3PYRAA_P0, R3TID_VECTOR, 0);
- }
-
- R3PYRAA_P1 = 155502;
- function SetR3PYRAA_P1(value) {
- R3Set(this.r3obj, R3PYRAA_P1, value, R3TID_VECTOR, 0);
- }
-
- function GetR3PYRAA_P1() {
- return R3Get(this.r3obj, R3PYRAA_P1, R3TID_VECTOR, 0);
- }
-
- R3PYRAA_P2 = 155503;
- function SetR3PYRAA_P2(value) {
- R3Set(this.r3obj, R3PYRAA_P2, value, R3TID_VECTOR, 0);
- }
-
- function GetR3PYRAA_P2() {
- return R3Get(this.r3obj, R3PYRAA_P2, R3TID_VECTOR, 0);
- }
-
- R3PYRAA_P3 = 155504;
- function SetR3PYRAA_P3(value) {
- R3Set(this.r3obj, R3PYRAA_P3, value, R3TID_VECTOR, 0);
- }
-
- function GetR3PYRAA_P3() {
- return R3Get(this.r3obj, R3PYRAA_P3, R3TID_VECTOR, 0);
- }
-
- R3PYRAA_Width = 155505;
- function SetR3PYRAA_Width(value) {
- R3Set(this.r3obj, R3PYRAA_Width, value, R3TID_FLOAT, 0);
- }
-
- function GetR3PYRAA_Width() {
- return R3Get(this.r3obj, R3PYRAA_Width, R3TID_FLOAT, 0);
- }
-
- R3PYRAA_Height = 155506;
- function SetR3PYRAA_Height(value) {
- R3Set(this.r3obj, R3PYRAA_Height, value, R3TID_FLOAT, 0);
- }
-
- function GetR3PYRAA_Height() {
- return R3Get(this.r3obj, R3PYRAA_Height, R3TID_FLOAT, 0);
- }
-
- R3PYRAA_Depth = 155507;
- function SetR3PYRAA_Depth(value) {
- R3Set(this.r3obj, R3PYRAA_Depth, value, R3TID_FLOAT, 0);
- }
-
- function GetR3PYRAA_Depth() {
- return R3Get(this.r3obj, R3PYRAA_Depth, R3TID_FLOAT, 0);
- }
-
- R3PYRAA_NoFloor = 155508;
- function SetR3PYRAA_NoFloor(value) {
- R3Set(this.r3obj, R3PYRAA_NoFloor, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PYRAA_NoFloor() {
- return R3Get(this.r3obj, R3PYRAA_NoFloor, R3TID_INTEGER, 0);
- }
-
- R3PYRAA_Infinite = 155509;
- function SetR3PYRAA_Infinite(value) {
- R3Set(this.r3obj, R3PYRAA_Infinite, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PYRAA_Infinite() {
- return R3Get(this.r3obj, R3PYRAA_Infinite, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Pyramid () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_PYRAMID, arguments);
- }
- // Attributes
- this.GetP0=GetR3PYRAA_P0;
- this.SetP0=SetR3PYRAA_P0;
- this.GetP1=GetR3PYRAA_P1;
- this.SetP1=SetR3PYRAA_P1;
- this.GetP2=GetR3PYRAA_P2;
- this.SetP2=SetR3PYRAA_P2;
- this.GetP3=GetR3PYRAA_P3;
- this.SetP3=SetR3PYRAA_P3;
- this.GetWidth=GetR3PYRAA_Width;
- this.SetWidth=SetR3PYRAA_Width;
- this.GetHeight=GetR3PYRAA_Height;
- this.SetHeight=SetR3PYRAA_Height;
- this.GetDepth=GetR3PYRAA_Depth;
- this.SetDepth=SetR3PYRAA_Depth;
- this.GetNoFloor=GetR3PYRAA_NoFloor;
- this.SetNoFloor=SetR3PYRAA_NoFloor;
- this.GetInfinite=GetR3PYRAA_Infinite;
- this.SetInfinite=SetR3PYRAA_Infinite;
- }
-
- r3Pyramid.prototype=new r3Primitive;
- // r3pyrami.h_H